//
//  BaseMode.m
//  ProfilePicture
//
//  Created by 张云江 on 2019/10/15.
//  Copyright © 2019年 张云江. All rights reserved.
//

#import "BaseMode.h"

@implementation BaseMode

@end

@implementation CheckResult

@end

@implementation CutCheckPicInfo

- (instancetype)initWithDic:(NSDictionary *)dic
{
    if (self = [super init]) {
        self = [CutCheckPicInfo mj_objectWithKeyValues:dic];
        if (self.wm_pic_url.count > 0) {
            self.img_wm_url_list = self.wm_pic_url;
        }
        if (self.print_wm_pic_url.count > 0) {
            self.print_wm_url_list = self.print_wm_pic_url;
        }
        
        if (self.final_pic_name.count > 0) {
            self.file_name = self.final_pic_name;
        }
        
        if (self.print_pic_name.count > 0) {
            self.file_name_print = self.print_pic_name;
        }
    }
    return self;
}
@end

@implementation HomeInfoMode

- (instancetype)init
{
    self = [super init];
    if (self) {
        
    }
    return self;
}

- (void)setSizeW:(int)sizeW withSizeH:(int)sizeH withName:(NSString *)name withSizeDes:(NSString *)sizeDes withSpecId:(int)specId
{
    self.sizeW = sizeW;
    self.sizeH = sizeH;
    self.name = name;
    self.sizeDes = sizeDes;
    self.specId = specId;
}

@end

